using UnityEngine;
using System.Collections;

public class gravityTriggerScript : MonoBehaviour {

    void OnTriggerEnter(Collider collider)
    {
        GameObject ship = GameObject.Find("ship");
        ship.GetComponent<shipControllerScript>().matchAttract(transform.parent.gameObject);
    }
}
